package com.wym.charging.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wym.charging.dto.BuyMonthlySubscriptionDto;
import com.wym.charging.entity.User;

import java.math.BigDecimal;

/**
 * @author WangYimin 2024年12月06日 15:28:48
 */
public interface UserService extends IService<User> {
    User recharge(Integer userId, BigDecimal amount) throws Exception;

    void buyMonthlySubscription(BuyMonthlySubscriptionDto buyMonthlySubscriptionDto);
}
